package com.hutu.erp.catalog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品图片对象 catalog_product_picture
 * 
 * @author ruoyi
 * @date 2021-05-24
 */
public class ProductPicture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品图片id */
    private Long productPictureId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long productId;

    /** 图片id */
    @Excel(name = "图片id")
    private Long pictureId;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer displayOrder;

    public void setProductPictureId(Long productPictureId) 
    {
        this.productPictureId = productPictureId;
    }

    public Long getProductPictureId() 
    {
        return productPictureId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setPictureId(Long pictureId) 
    {
        this.pictureId = pictureId;
    }

    public Long getPictureId() 
    {
        return pictureId;
    }
    public void setDisplayOrder(Integer displayOrder) 
    {
        this.displayOrder = displayOrder;
    }

    public Integer getDisplayOrder() 
    {
        return displayOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productPictureId", getProductPictureId())
            .append("productId", getProductId())
            .append("pictureId", getPictureId())
            .append("displayOrder", getDisplayOrder())
            .toString();
    }
}
